package com.squirrel.service;

import com.squirrel.facade.DataMedium;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

/**
 * @author wangyan
 */
public class CreateUpdateSql extends AbstractCreateSql implements ICreateUpdateSql {

    /**
     * 数据的k-v结构数据
     */
    private DataMedium dataMedium;

    private List<DataMedium> dataMediumList;

    public CreateUpdateSql() {
        this.dataMedium = new DataMedium();
        this.dataMediumList = new ArrayList<>();
    }

    public CreateUpdateSql(DataMedium dataMedium) {
        this.dataMedium = dataMedium;
    }

    public CreateUpdateSql(List<DataMedium> dataMediumList) {
        this.dataMediumList = dataMediumList;
    }

    public CreateUpdateSql(List<DataMedium> dataMediumList, DataMedium dataMedium) {
        this.dataMediumList = dataMediumList;
        this.dataMedium = dataMedium;
    }

    @Override
    public DataMedium getDataMedium() {
        return this.dataMedium;
    }

    @Override
    public void setDataMedium(DataMedium dataMedium) {
        this.dataMedium = dataMedium;
    }

    @Override
    public List<DataMedium> getDataMediums() {
        return this.dataMediumList;
    }

    @Override
    public String getFieldIsNull() {
        return null;
    }

    @Override
    public void setFieldIsNull(String fieldIsNull) {

    }

    @Override
    public String getFieldIsNotNull() {
        return null;
    }

    @Override
    public void setFieldIsNotNull(String fieldIsNotNull) {

    }
}
